From ebfb4f73ecefc27d8db1494f2c838efa9347083e Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 4 Oct 2025 15:38:24 +0300 Subject: [PATCH] luci-base: form.js depends(): make value optional Signed-off-by: Sergey Ponomarev --- modules/luci-base/htdocs/luci-static/resources/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 9a8523c62f..5cd8fa9acb 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1631,7 +1631,7 @@ const CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.Abstract * The name of the option to depend on or an object describing multiple * dependencies which must be satisfied (a logical "and" expression). * - * @param {string|RegExp} value + * @param {string|RegExp} [value] * When invoked with a plain option name as first argument, this parameter * specifies the expected value. In case an object is passed as first * argument, this parameter is ignored. -- 2.30.2